<template>
  <span style="color: red; font-size: 26px;">首页</span> 
  <div @click="go"  style="cursor: pointer;">
    跳转到关于页面
  </div>
</template>
<script setup>
import { useRouter } from 'vue-router'
const router = useRouter();
function go() {
  router.push('./about')
}
</script>